package com.niuwa.p2p.dao.fund;

import java.util.List;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.fund.ChannelAccount;
@MyBatisDao
public interface ChannelAccountDao {
    int deleteByPrimaryKey(String acctNo);

    int insert(ChannelAccount record);

    int insertSelective(ChannelAccount record);

    ChannelAccount selectByPrimaryKey(String acctNo);

    int updateByPrimaryKeySelective(ChannelAccount record);

    int updateByPrimaryKey(ChannelAccount record);
    /**
     * 获取所有的渠道账号
     * @return
     */
    List<ChannelAccount> selectAllChannelAccount();
}